import { ApiProperty } from '@nestjs/swagger';
export class PromptDto {
    @ApiProperty({
        description: '标题',
        type: String,
        example: '标题',
        required: false
      })
      title: string;
    
      @ApiProperty({
        description: '内容',
        type: String,
        example: '内容',
        required: false
      })
      content:string;
      @ApiProperty({
        description: '时间',
        type: String,
        example: '1704434880571',
        required: false
      })
      time:string;
      @ApiProperty({
        description: '用户',
        type: String,
        example: '1000',
        required: false
      })
      userId:string;
}
